package com.opteron.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.chiga.dao.impl.AbstractDao;
import com.opteron.dao.UserDao;
import com.opteron.model.UserInfo;

@Repository
public class UserDaoImpl extends AbstractDao<UserInfo, Long> implements UserDao {
	
	public UserDaoImpl() {
		super(UserInfo.class);
	}
	
	@Override
	public List<UserInfo> getUserInfo() {
		return this.query("select * from user_info");
	}

}
